/**
 *
 * Copyright 2012 TeleNav, Inc. All rights reserved.
 * PassPointRequest.java
 *
 */
package com.telenav.snowsweeper.net;

import com.telenav.snowsweeper.UrlsOfServer;

/**
 *@author hhzhu
 *@date 2012-12-7
 */
public class PassPointRequest extends AbstractRequest
{

    private int level;
    private int index;
    public PassPointRequest(ICallBack caller,int level, int index)
    {
        super(caller);
        this.level = level;
        this.index = index;
    }

    public String getRequestUrl()
    {
        String url = UrlsOfServer.getInsttance().getURLByType(UrlsOfServer.TYPE_CONFIG_PASS_POINT) + "?level=" + level + "&index=" + index;
        return url;
    }

    public int getRequestPassPointIndex() {
    	return index;
    }
}
